package org.example.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.example.system.entity.DealLog;

import javax.servlet.http.HttpServletRequest;

/**
 * 交易记录服务层
 */
public interface DealLogService {

    /**
     * 添加交易记录
     * @param dealLog
     * @param request
     * @return
     */
    int add(DealLog dealLog,HttpServletRequest request);

    /**
     * 按条件分页查询
     * @param dealLog
     * @return
     */
    IPage<DealLog> selectPage(DealLog dealLog);

    /**
     * 删除
     * @param Ids
     * @return
     */
    int deleteBatch(Long[] Ids);
}

